home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / Canvas.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  1.5 KB  |  71 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _CANVAS_
  3. #define _CANVAS_
  4.  
  5. #ifndef _CANVASB_
  6. #include "CanvasB.idl"      // base class
  7. #endif
  8.  
  9. //==============================================================================
  10. // Classes defined in this interface
  11. //==============================================================================
  12.  
  13. interface  ODCanvas;
  14.  
  15. //==============================================================================
  16. // Classes used in this interface
  17. //==============================================================================
  18.  
  19. interface  ODPart;
  20. interface  ODFacet;
  21. interface  ODShape;
  22.  
  23.  
  24. //==============================================================================
  25. // ODCanvas
  26. //==============================================================================
  27.  
  28. interface ODCanvas :  ODBaseCanvas
  29. {
  30.  
  31.     void InitCanvas(in ODGraphicsSystem graphicsSystem,
  32.                     in ODPlatformCanvas    platformCanvas,
  33.                     in ODBoolean isDynamic,
  34.                     in ODBoolean isOffscreen);
  35.  
  36.  
  37. #ifdef __SOMIDL__
  38.   implementation
  39.   {
  40.     override:
  41.         somInit,
  42.         somUninit,
  43.         
  44.         Purge,
  45.  
  46.         GetGraphicsSystem,
  47.         GetPlatformCanvas,
  48.         GetOwner,
  49.         SetOwner,
  50.         GetFacet,
  51.         SetFacet,
  52.         IsDynamic,
  53.         IsOffscreen,
  54.         GetUpdateShape,
  55.         ResetUpdateShape,
  56.         Invalidate,
  57.         Validate,
  58.         CheckUpdateShape;
  59.     
  60.     releaseorder:
  61.         InitCanvas;
  62.  
  63.     majorversion = 1; minorversion = 0;
  64.     
  65.     
  66.   };
  67. #endif
  68. };
  69.  
  70. #endif //# _CANVAS_
  71.